#[cfg(test)]
mod test {
#[derive(Debug)]
enum Weather {
    Sunny,
    Rainy,
    Cloudy,
    Windy,
}

    #[test]
    fn main() {
        let today1 = Weather::Sunny;
        match  today1 {
            Weather::Sunny => println!("晴天"),
            Weather::Rainy => println!("雨天"),
            Weather::Cloudy => println!("多云"),
            Weather::Windy => println!("大风"),
        }
    }
}
